package com.qingcloud.base.feign.fallback;

import com.qingcloud.base.feign.UserService;
import com.qingcloud.base.remote.pojo.LoginUserDTO;
import lombok.Setter;
import lombok.extern.slf4j.Slf4j;

@Slf4j
public class UserServiceFallback implements UserService {


    @Setter
    private Throwable cause;
    @Override
    public LoginUserDTO findUserByName(String userName) {
        return new LoginUserDTO();
    }

    @Override
    public LoginUserDTO findUserByUserId(String userId) {
        return new LoginUserDTO();
    }
}
